Michael Natterer [Tue, 4 Mar 2008 12:49:40 +0000 (12:49 +0000)]
gtk/gtkcellview.c gtk/gtkcolorbutton.c gtk/gtkentrycompletion.c
2008-03-04 Michael Natterer <mitch@imendio.com>
* gtk/gtkcellview.c
* gtk/gtkcolorbutton.c
* gtk/gtkentrycompletion.c
* gtk/gtkfontbutton.c
* gtk/gtkiconview.c
* gtk/gtkobject.c
* gtk/gtkpaned.c
* gtk/gtkpreview.c: don't include "gtksignal.h".
* gtk/gtkfilefilter.c
* gtk/gtkrecentchoosermenu.c
* gtk/gtkrecentfilter.c
* gtk/gtktext.c: don't include "gtkobject.h".
svn path=/trunk/; revision=19708
Simos Xenitellis [Tue, 4 Mar 2008 11:21:48 +0000 (11:21 +0000)]
Fix #321896 - Synch gtkimcontextsimple.c with Xorg
svn path=/trunk/; revision=19706
Federico Mena Quintero [Tue, 4 Mar 2008 01:04:46 +0000 (01:04 +0000)]
Remove spurious character in ChangeLog
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19705
Carlos Garnacho [Mon, 3 Mar 2008 21:15:21 +0000 (21:15 +0000)]
bgo417389 - Scrollwheel for GtkPathBar
2008-03-03 Carlos Garnacho <carlos@imendio.com>
Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
scrollwheel work in GtkPathBar.
* gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
* gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
an input-only window, event_window, which we'll use to capture
scroll events.
(gtk_path_bar_map): Show the event_window under the rest of the
windows, so it will be a catch-all for unhandled events.
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19699
Sven Neumann [Mon, 3 Mar 2008 12:35:43 +0000 (12:35 +0000)]
fixed a typo in the documentation of the GtkFileChooserButtons::file-set
2008-03-03 Sven Neumann <sven@gimp.org>
* gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
typo in the documentation of the GtkFileChooserButtons::file-set
signal (see bug #353196).
svn path=/trunk/; revision=19696
Tor Lillqvist [Mon, 3 Mar 2008 01:27:43 +0000 (01:27 +0000)]
Add gail bits. Simplify check for message catalog location.
2008-03-03 Tor Lillqvist <tml@novell.com>
* gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
location.
svn path=/trunk/; revision=19695
Johan Dahlin [Mon, 3 Mar 2008 01:22:54 +0000 (01:22 +0000)]
Use void instead of empty arguments. (#508760, Philip Van Hoof)
2008-03-02 Johan Dahlin <johan@gnome.org>
* gtk/gtkitemfactory.h: Use void instead of empty arguments.
(#508760, Philip Van Hoof)
svn path=/trunk/; revision=19694
Johan Dahlin [Mon, 3 Mar 2008 01:13:07 +0000 (01:13 +0000)]
Remove left-over focus_pad variable. (#490892, Claudio Saavedra)
2008-03-02 Johan Dahlin <johan@gnome.org>
* gtk/gtkiconview.c (gtk_icon_view_paint_item):
Remove left-over focus_pad variable.
(#490892, Claudio Saavedra)
svn path=/trunk/; revision=19693
Johan Dahlin [Mon, 3 Mar 2008 01:06:16 +0000 (01:06 +0000)]
Remove an extra space and swap word order (#518166, Matt Kraai)
2008-03-02 Johan Dahlin <johan@gnome.org>
* docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
(#518166, Matt Kraai)
svn path=/trunk/; revision=19692
Johan Dahlin [Mon, 3 Mar 2008 01:04:26 +0000 (01:04 +0000)]
Add a missing space (#517954, Matt Kraai)
2008-03-02 Johan Dahlin <johan@gnome.org>
* docs/tutorial/gtk-tut.sgml: Add a missing space
(#517954, Matt Kraai)
svn path=/trunk/; revision=19691
Tor Lillqvist [Sun, 2 Mar 2008 19:51:00 +0000 (19:51 +0000)]
Check that the widget is a GtkButton before casting.
2008-03-03 Tor Lillqvist <tml@novell.com>
* modules/engines/ms-windows/msw_style.c (draw_box): Check that
the widget is a GtkButton before casting.
svn path=/trunk/; revision=19690
Johan Dahlin [Sun, 2 Mar 2008 18:08:50 +0000 (18:08 +0000)]
Compare using = instead of ==, which is portable. (#490787, Thomas
2008-03-02 Johan Dahlin <johan@gnome.org>
* configure.in: Compare using = instead of ==, which is portable.
(#490787, Thomas Klausner)
svn path=/trunk/; revision=19689
Johan Dahlin [Sun, 2 Mar 2008 17:19:52 +0000 (17:19 +0000)]
Remove autotestkeywords, it's added later, fixes non-C++ build. (#496032,
2008-03-02 Johan Dahlin <johan@gnome.org>
* tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
fixes non-C++ build.
(#496032, Nelson Benitez)
svn path=/trunk/; revision=19688
Priit Laes [Sun, 2 Mar 2008 15:31:49 +0000 (15:31 +0000)]
Translation updated by Ivar Smolin
2008-03-02 Priit Laes <plaes at svn dot gnome dot org>
* et.po: Translation updated by Ivar Smolin
svn path=/trunk/; revision=19687
Johan Dahlin [Sun, 2 Mar 2008 01:14:48 +0000 (01:14 +0000)]
Add translatable/context and comment attributes on <col> tags under a
2008-02-29 Johan Dahlin <johan@gnome.org>
* demos/gtk-demo/demo.ui:
* gtk/gtkbuilderparser.c:
* gtk/gtkbuilderprivate.h:
* gtk/gtkliststore.c:
* tests/buildertest.c:
Add translatable/context and comment attributes on
<col> tags under a GtkListStore. Refactor parts of the
translation api and make it available inside gtk+ itself.
Update tests and example.
Fixes a part of #518642
svn path=/trunk/; revision=19685
Johan Dahlin [Sat, 1 Mar 2008 16:47:34 +0000 (16:47 +0000)]
Add missing g_return_val_if_fail checks for public API.
2008-02-29 Johan Dahlin <johan@gnome.org>
* gtk/gtkbuilder.c:
Add missing g_return_val_if_fail checks for public API.
svn path=/trunk/; revision=19684
Johan Dahlin [Sat, 1 Mar 2008 13:49:06 +0000 (13:49 +0000)]
Do not use g_error for a few more errors, instead set the GError sent in
2008-02-29 Johan Dahlin <johan@gnome.org>
* gtk/gtkbuilder.c:
* gtk/gtkbuilderparser.c:
* gtk/gtkbuilderprivate.h:
Do not use g_error for a few more errors, instead set
the GError sent in through add_from_file/add_from_string.
* tests/buildertest.c:
Add a couple of new parsing tests.
(#519199, Pavel Syomin)
svn path=/trunk/; revision=19681
Federico Mena Quintero [Sat, 1 Mar 2008 02:32:09 +0000 (02:32 +0000)]
When refreshing an existing unix folder, turn off its is_finished_loading state
2008-02-29 Federico Mena Quintero <federico@novell.com>
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
refreshing an existing folder (i.e. when we are about to reload
its file list), turn off the folder's is_finished_loading flag.
Otherwise callers which do ::is_finished_loading() followed by
::list_children() will get nothing.
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19677
Cody Russell [Fri, 29 Feb 2008 19:27:16 +0000 (19:27 +0000)]
Fix tutorial documentation to say 'gtk_main_quit()' instead of
2008-02-29 Cody Russell <bratsche@gnome.org>
* docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
svn path=/trunk/; revision=19676
Nickolay V. Shmyrev [Thu, 28 Feb 2008 23:50:17 +0000 (23:50 +0000)]
Fixes bug in Russian translation
svn path=/trunk/; revision=19673
Matthias Clasen [Thu, 28 Feb 2008 05:41:56 +0000 (05:41 +0000)]
Remove trailing comma from enum to make the compiler happy. (#517295,
2008-02-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcalendar.h: Remove trailing comma from enum to
make the compiler happy. (#517295, Sylvain Pasche)
svn path=/trunk/; revision=19671
Michael Natterer [Wed, 27 Feb 2008 11:30:10 +0000 (11:30 +0000)]
gtk/gtkmenushell.c gtk/gtktable.c gtk/gtktext.c gtk/gtktipsquery.c
2008-02-27 Michael Natterer <mitch@imendio.com>
* gtk/gtkmenushell.c
* gtk/gtktable.c
* gtk/gtktext.c
* gtk/gtktipsquery.c
* gtk/gtktoolbar.c
* gtk/gtktreeitem.c
* gtk/gtktreeview.c
* gtk/gtkviewport.c
* gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
private functions and virtual function implementations.
svn path=/trunk/; revision=19668
Richard Hult [Wed, 27 Feb 2008 10:49:22 +0000 (10:49 +0000)]
Fix performance regression for borderless transparent windows with shadow.
2008-02-27 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzView.c:
* gdk/quartz/GdkQuartzView.h:
* gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
Fix performance regression for borderless transparent windows
with shadow.
svn path=/trunk/; revision=19666
Emmanuele Bassi [Wed, 27 Feb 2008 10:31:24 +0000 (10:31 +0000)]
Revert back to r19454.
2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
* tests/testgtk.c: Revert back to r19454.
svn path=/trunk/; revision=19665
Sven Neumann [Wed, 27 Feb 2008 09:58:49 +0000 (09:58 +0000)]
when building the Quartz backend, use a native Mac OS X application for
2008-02-27 Sven Neumann <sven@gimp.org>
* gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
Quartz backend, use a native Mac OS X application for the print
preview (bug #518624).
svn path=/trunk/; revision=19663
Michael Natterer [Tue, 26 Feb 2008 14:20:08 +0000 (14:20 +0000)]
don't g_free() the members of info->tag_stack since they are a) gobjects
2008-02-26 Michael Natterer <mitch@imendio.com>
* gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
the members of info->tag_stack since they are a) gobjects and b)
not even owned by us, ugh... Fixes crash when deserializing fails.
svn path=/trunk/; revision=19657
Sven Neumann [Tue, 26 Feb 2008 14:14:40 +0000 (14:14 +0000)]
docs/tools/shooter.c (find_toplevel_window) fixed signedness of argument
2008-02-26 Sven Neumann <sven@gimp.org>
* docs/tools/shooter.c (find_toplevel_window)
* docs/tools/widgets.c (find_toplevel_window): fixed signedness of
argument passed to XQueryTree().
svn path=/trunk/; revision=19656
Gabor Kelemen [Mon, 25 Feb 2008 23:08:23 +0000 (23:08 +0000)]
Translation updated, merge changes from 2-12 branch
2008-02-26 Gabor Kelemen <kelemeng@gnome.hu>
* hu.po: Translation updated, merge changes from 2-12 branch
svn path=/trunk/; revision=19655
Gabor Kelemen [Mon, 25 Feb 2008 23:06:36 +0000 (23:06 +0000)]
Translation updated, merge changes from 2-12 branch
2008-02-26 Gabor Kelemen <kelemeng@gnome.hu>
* hu.po: Translation updated, merge changes from 2-12 branch
svn path=/trunk/; revision=19654
Matthias Clasen [Mon, 25 Feb 2008 15:59:28 +0000 (15:59 +0000)]
And don't use beagle_query_add_hit_type
svn path=/trunk/; revision=19649
Matthias Clasen [Mon, 25 Feb 2008 13:43:37 +0000 (13:43 +0000)]
Look for libbeagle.so.1
svn path=/trunk/; revision=19646
Richard Hult [Mon, 25 Feb 2008 12:45:56 +0000 (12:45 +0000)]
Fix build on tiger.
2008-02-25 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkevents-quartz.c
(_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
svn path=/trunk/; revision=19644
Richard Hult [Sun, 24 Feb 2008 17:51:22 +0000 (17:51 +0000)]
Prevent hidden windows from being shown without gdk's control when
2008-02-24 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
shown without gdk's control when clicking the dock icon.
svn path=/trunk/; revision=19638
Richard Hult [Sun, 24 Feb 2008 17:45:29 +0000 (17:45 +0000)]
Use the subtype field for the custom event that is used to wake up the
2008-02-24 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkprivate-quartz.h:
* gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
Use the subtype field for the custom event that is used to wake up
the mainloop so we can have other custom event types.
* gdk/quartz/gdkevents-quartz.c:
(_gdk_quartz_events_trigger_crossing_events):
* gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
crossing events after showing a window if necessary, to work
around problems with the tracking rect API.
svn path=/trunk/; revision=19637
Dominic Lachowicz [Fri, 22 Feb 2008 22:38:47 +0000 (22:38 +0000)]
gtk-demo printing gives wrong results on win32 because it doesn't set the
2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
* demos/gtk-demo/printing.c (do_printing): gtk-demo printing
gives
wrong results on win32 because it doesn't set the printing
units,
which affect the transformation of the cairo context
(#347125, Erik van Pienbroek)
svn path=/trunk/; revision=19635
Tor Lillqvist [Fri, 22 Feb 2008 20:17:00 +0000 (20:17 +0000)]
Add file missing from SVN, from the tarball.
2008-02-22 Tor Lillqvist <tml@novell.com>
* tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
svn path=/trunk/; revision=19634
Dominic Lachowicz [Fri, 22 Feb 2008 15:26:48 +0000 (15:26 +0000)]
It's perfectly acceptable for a module to only support the
2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
* gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly acceptable
for a module to only support the save_to_callback() method if it marks itself
as WRITABLE
svn path=/trunk/; revision=19632
Matthias Clasen [Thu, 21 Feb 2008 18:22:28 +0000 (18:22 +0000)]
Bump version
svn path=/trunk/; revision=19630
Matthias Clasen [Thu, 21 Feb 2008 18:03:04 +0000 (18:03 +0000)]
2.13.0
svn path=/trunk/; revision=19628
Tor Lillqvist [Thu, 21 Feb 2008 16:23:01 +0000 (16:23 +0000)]
Small further change to make it more robust.
svn path=/trunk/; revision=19626
Tor Lillqvist [Thu, 21 Feb 2008 12:47:45 +0000 (12:47 +0000)]
Must pass the format string to strftime in the C library's locale's
2008-02-21 Tor Lillqvist <tml@novell.com>
* gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
pass the format string to strftime in the C library's locale's
charset, not the system's. Correspondingly, the return value from
strftime() is in the C library's locale's charset. (#509885)
svn path=/trunk/; revision=19625
Richard Hult [Wed, 20 Feb 2008 20:10:30 +0000 (20:10 +0000)]
Set the right window level and shadow after recreating the window.
2008-02-20 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
the right window level and shadow after recreating the window.
* gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
necessary after drawing (bug #517338).
svn path=/trunk/; revision=19622
Marc-Andre Lureau [Wed, 20 Feb 2008 18:32:43 +0000 (18:32 +0000)]
fix missing call to g_type_class_unref in case of error. (#517563)
2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
* gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
call to g_type_class_unref in case of error. (#517563)
svn path=/trunk/; revision=19619
Yannig MARCHEGAY [Tue, 19 Feb 2008 21:47:06 +0000 (21:47 +0000)]
Updated Occitan translation
svn path=/trunk/; revision=19617
Jorge Gonzalez Gonzalez [Mon, 18 Feb 2008 22:49:07 +0000 (22:49 +0000)]
Updated Spanish translation
svn path=/trunk/; revision=19615
Sven Neumann [Mon, 18 Feb 2008 15:01:04 +0000 (15:01 +0000)]
gtk/Makefile.am (STOCK_ICONS) gtk/stock-icons/16/gtk-page-setup.png added
2008-02-18 Sven Neumann <sven@gimp.org>
* gtk/Makefile.am (STOCK_ICONS)
* gtk/stock-icons/16/gtk-page-setup.png
* gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
taken from GNOME icon theme.
* gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
svn path=/trunk/; revision=19614
Runa Bhattacharjee [Mon, 18 Feb 2008 12:25:28 +0000 (12:25 +0000)]
Added Entry for Kannada Translation updation by Shankar Prasad
svn path=/trunk/; revision=19613
Runa Bhattacharjee [Mon, 18 Feb 2008 12:24:58 +0000 (12:24 +0000)]
Updated Kannada Translations by Shankar Prasad
svn path=/trunk/; revision=19612
Runa Bhattacharjee [Mon, 18 Feb 2008 12:23:07 +0000 (12:23 +0000)]
Added Entry for addition of Kannada (kn) to ALL_LINGUAS
svn path=/trunk/; revision=19611
Runa Bhattacharjee [Mon, 18 Feb 2008 12:22:32 +0000 (12:22 +0000)]
Added Kannada (kn) to ALL_LINGUAS
svn path=/trunk/; revision=19610
Johan Dahlin [Sun, 17 Feb 2008 22:28:55 +0000 (22:28 +0000)]
When converting a stock item based on the label, remove the label
2008-02-17 Johan Dahlin <johan@gnome.org>
* gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
When converting a stock item based on the label, remove the label property.
(bug #515824, Yuri Pimenov)
svn path=/trunk/; revision=19607
Richard Hult [Sun, 17 Feb 2008 10:11:11 +0000 (10:11 +0000)]
Update the position after showing the window since the window manager
2008-02-17 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
position after showing the window since the window manager might
not place it where we requested in the first places.
svn path=/trunk/; revision=19605
Richard Hult [Sun, 17 Feb 2008 10:01:52 +0000 (10:01 +0000)]
Clear the toplevel ordering list in all places where the order is
2008-02-17 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
(_gdk_quartz_window_detach_from_parent),
(_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
the toplevel ordering list in all places where the order is
potentially changed. Fixes mouse focus issues for windows with
a transient parent set.
svn path=/trunk/; revision=19604
Richard Hult [Sun, 17 Feb 2008 09:54:57 +0000 (09:54 +0000)]
Highlight the mouse window when event debugging is enabled.
2008-02-17 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkevents-quartz.c
(_gdk_quartz_events_update_mouse_window): Highlight the mouse
window when event debugging is enabled.
svn path=/trunk/; revision=19603
David Lodge [Sun, 17 Feb 2008 09:50:22 +0000 (09:50 +0000)]
Updated en_GB translation
svn path=/trunk/; revision=19602
Richard Hult [Sat, 16 Feb 2008 09:49:52 +0000 (09:49 +0000)]
Add state to the scroll event (bug #516757, Paul Davis).
2008-02-16 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
to the scroll event (bug #516757, Paul Davis).
svn path=/trunk/; revision=19598
Matthias Clasen [Sat, 16 Feb 2008 07:01:40 +0000 (07:01 +0000)]
Look at a patch
svn path=/trunk/; revision=19597
Matthias Clasen [Sat, 16 Feb 2008 05:28:22 +0000 (05:28 +0000)]
Show the URI in a tooltip. (#505480, Teppo Turtiainen)
2008-02-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
Teppo Turtiainen)
svn path=/trunk/; revision=19596
Matthias Clasen [Sat, 16 Feb 2008 04:33:48 +0000 (04:33 +0000)]
Don't install private headers. (#463510)
2008-02-15 Matthias Clasen <mclasen@redhat.com>
* gdk/Makefile.am: Don't install private headers. (#463510)
* gdk/gdkinternal.h: Include gdkmedialib.h here, not in
the installed header gdkprivate.h.
svn path=/trunk/; revision=19595
Matthias Clasen [Sat, 16 Feb 2008 04:09:15 +0000 (04:09 +0000)]
Prevent a crash with hidden, reorderable tabs. (#513230, Mike Massonnet,
2008-02-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
a crash with hidden, reorderable tabs. (#513230,
Mike Massonnet, patch by Carlos Garnacho)
svn path=/trunk/; revision=19593
Matthias Clasen [Sat, 16 Feb 2008 03:43:38 +0000 (03:43 +0000)]
Warn on duplicate action group names. (#501746, Christian Persch)
2008-02-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
Warn on duplicate action group names. (#501746, Christian
Persch)
svn path=/trunk/; revision=19592
Matthias Clasen [Sat, 16 Feb 2008 02:39:20 +0000 (02:39 +0000)]
Fix builddir!=srcdir builds. (#516254, Yevgen Muntyan)
2008-02-15 Matthias Clasen <mclasen@redhat.com>
* gtk/Makefile.am:
* modules/other/gail/tests/Makefile.am:
* modules/other/gail/libgail-util/Makefile.am:
* modules/other/gail/Makefile.am: Fix builddir!=srcdir
builds. (#516254, Yevgen Muntyan)
svn path=/trunk/; revision=19591
Matthias Clasen [Sat, 16 Feb 2008 02:31:33 +0000 (02:31 +0000)]
Use gtk_drag_*_add_{text,uri}_targets instead of hardcoded target tables.
2008-02-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.c:
* gtk/gtkfilesel.c:
* gtk/gtklabel.c:
* gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
instead of hardcoded target tables. (#516092, Christian Persch)
svn path=/trunk/; revision=19590
Matthias Clasen [Sat, 16 Feb 2008 01:37:47 +0000 (01:37 +0000)]
Don't add the same target atom twice. (#516087, Christian Persch)
2008-02-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
add the same target atom twice. (#516087, Christian Persch)
svn path=/trunk/; revision=19589
Matthias Clasen [Sat, 16 Feb 2008 01:23:18 +0000 (01:23 +0000)]
Add a --backend option. (#516073, Christian Persch)
2008-02-15 Matthias Clasen <mclasen@redhat.com>
* tests/testfilechooser.c: Add a --backend option.
(#516073, Christian Persch)
svn path=/trunk/; revision=19588
Richard Hult [Sat, 16 Feb 2008 00:27:29 +0000 (00:27 +0000)]
Add debugging code to highlight a gdkwindow.
2008-02-16 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkprivate-quartz.h:
* gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
gdkwindow.
svn path=/trunk/; revision=19587
Matthias Clasen [Fri, 15 Feb 2008 23:42:42 +0000 (23:42 +0000)]
Go back to 2.13.0 as version for now, as there was no consensus to do the
2008-02-15 Matthias Clasen <mclasen@redhat.com>
* configure.in: Go back to 2.13.0 as version for now,
as there was no consensus to do the jump.
* many other places: Update Since: tags.
svn path=/trunk/; revision=19586
Matthias Clasen [Fri, 15 Feb 2008 23:13:30 +0000 (23:13 +0000)]
Add gtk_tool_shell_get_type
2008-02-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols: Add gtk_tool_shell_get_type
* gtk/gtktestutils.c: Don't generate unnecessary PLT entries
svn path=/trunk/; revision=19585
Matthias Clasen [Fri, 15 Feb 2008 22:50:46 +0000 (22:50 +0000)]
Fix up export of gdk_pixbuf_non_anim_get_type.
2008-02-15 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-animation.h:
* gdk-pixbuf.symbols: Fix up export of gdk_pixbuf_non_anim_get_type.
svn path=/trunk/; revision=19584
Matthias Clasen [Fri, 15 Feb 2008 21:55:07 +0000 (21:55 +0000)]
Updates
svn path=/trunk/; revision=19583
Claude Paroz [Fri, 15 Feb 2008 21:23:06 +0000 (21:23 +0000)]
Updated French translation (synced with gtk-2-12).
2008-02-15 Claude Paroz <claude@2xlibre.net>
* fr.po: Updated French translation (synced with gtk-2-12).
svn path=/trunk/; revision=19582
Richard Hult [Fri, 15 Feb 2008 19:06:49 +0000 (19:06 +0000)]
Adapt to the change to use frame instead of bounds when resizing windows.
2008-02-15 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
instead of bounds when resizing windows.
svn path=/trunk/; revision=19580
Matthias Clasen [Fri, 15 Feb 2008 19:02:44 +0000 (19:02 +0000)]
Fix a small doc issues.
2008-02-15 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkkeys-x11.c:
* gdk/x11/gdkcolor-x11.c:
* gdk/gdkpolyreg-generic.c: Fix a small doc issues.
svn path=/trunk/; revision=19579
Matthias Clasen [Fri, 15 Feb 2008 19:01:39 +0000 (19:01 +0000)]
Updates
2008-02-15 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk-docs.xml:
* gdk/gdk-sections.txt: Updates
svn path=/trunk/; revision=19578
Matthias Clasen [Fri, 15 Feb 2008 18:37:34 +0000 (18:37 +0000)]
Documentation fixes
svn path=/trunk/; revision=19577
Tor Lillqvist [Fri, 15 Feb 2008 00:26:40 +0000 (00:26 +0000)]
Don't leak Registry key handles. (#516578)
2008-02-15 Tor Lillqvist <tml@novell.com>
* gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
leak Registry key handles. (#516578)
svn path=/trunk/; revision=19572
Richard Hult [Thu, 14 Feb 2008 21:48:41 +0000 (21:48 +0000)]
Using makeKeyWindow unfortunately doesn't work in all cases, we must use
2008-02-14 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
makeKeyWindow unfortunately doesn't work in all cases, we must use
makeKeyAndOrderFront.
svn path=/trunk/; revision=19568
Richard Hult [Thu, 14 Feb 2008 21:41:59 +0000 (21:41 +0000)]
Make sure we leave fullscreen mode if the window is hidden.
2008-02-14 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
(gdk_window_hide), (gdk_window_fullscreen),
(gdk_window_unfullscreen): Make sure we leave fullscreen mode if
the window is hidden.
svn path=/trunk/; revision=19567
Richard Hult [Thu, 14 Feb 2008 21:34:54 +0000 (21:34 +0000)]
Set frame, not bounds when resizing to be consistent and to avoid
2008-02-14 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
resizing to be consistent and to avoid introducing an internal
transform in the view.
svn path=/trunk/; revision=19566
Richard Hult [Thu, 14 Feb 2008 15:51:13 +0000 (15:51 +0000)]
Coding style fix.
2008-02-14 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
fix.
svn path=/trunk/; revision=19565
Johan Dahlin [Thu, 14 Feb 2008 15:48:35 +0000 (15:48 +0000)]
gdk/gdktestutils.h Remove ; trailing G_BEGIN/END_DECLS
2008-02-14 Johan Dahlin <johan@gnome.org>
* gdk/gdktestutils.h
* gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
svn path=/trunk/; revision=19564
Amitakhya Phukan [Thu, 14 Feb 2008 09:54:02 +0000 (09:54 +0000)]
Updated assamese translations
svn path=/trunk/; revision=19563
Christian Persch [Wed, 13 Feb 2008 19:24:10 +0000 (19:24 +0000)]
Typo fix
svn path=/trunk/; revision=19562
Richard Hult [Wed, 13 Feb 2008 15:36:18 +0000 (15:36 +0000)]
Remove unused variables. (gtk_clipboard_set_contents),
2008-02-13 Richard Hult <richard@imendio.com>
* gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
Remove unused variables.
(gtk_clipboard_set_contents),
(gtk_clipboard_get_owner), (clipboard_unset),
(gtk_clipboard_request_targets): Notify the previous clipboard
owner when the owner changes. Fixes bug #493406.
svn path=/trunk/; revision=19560
Tor Lillqvist [Wed, 13 Feb 2008 14:21:28 +0000 (14:21 +0000)]
Correct description of the Wintab and max palette size options. Drop
2008-02-13 Tor Lillqvist <tml@novell.com>
* gtk/windows.sgml: Correct description of the Wintab and max
palette size options. Drop obsolete Win9x stuff.
svn path=/trunk/; revision=19558
Richard Hult [Wed, 13 Feb 2008 14:20:51 +0000 (14:20 +0000)]
Fix the return value (return number of colors that failed), and handle
2008-02-13 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
the return value (return number of colors that failed), and handle
RGBA colormap.
(gdk_colormap_free_colors): Fix typo in comment.
svn path=/trunk/; revision=19557
Kristian Rietveld [Wed, 13 Feb 2008 11:53:35 +0000 (11:53 +0000)]
only queue a redraw if the rubber banding has actually been active.
2008-02-13 Kristian Rietveld <kris@imendio.com>
* gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
queue a redraw if the rubber banding has actually been active.
svn path=/trunk/; revision=19556
Sunil Mohan Adapa [Wed, 13 Feb 2008 08:54:36 +0000 (08:54 +0000)]
Updated Telugu translation done by Krishna Babu K <kkrothap@redhat.com>.
2008-02-13 Sunil Mohan Adapa <sunilmohan@fsf.org.in>
* te.po: Updated Telugu translation done by
Krishna Babu K <kkrothap@redhat.com>.
svn path=/trunk/; revision=19553
Matthias Clasen [Tue, 12 Feb 2008 22:43:35 +0000 (22:43 +0000)]
Fix some i18n errors. Pointed out by Behdad Esfahbod.
2008-02-12 Matthias Clasen <mclasne@redhat.com>
* gtk/gtkpapersize.c:
* gtk/gtkprintoperation.c:
* gtk/gtkvolumebutton.c:
* gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
out by Behdad Esfahbod.
svn path=/trunk/; revision=19547
Federico Mena Quintero [Tue, 12 Feb 2008 19:32:17 +0000 (19:32 +0000)]
Fix 419737 - don't focus the file list when activating a shortcut in the file chooser
2008-02-12 Federico Mena Quintero <federico@novell.com>
Merged from gtk-2-12:
Don't focus the file list when shortcuts get activated. This
removes a lot of ambiguity in when the file selection should
change, and makes the overall code flow simpler.
This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
file/save dialog clears the filename entry when changing
directories.
Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
focus should not go to the file list when a shortcut is activated.
* gtk/gtkfilechooserdefault.c
(shortcuts_activate_volume_mount_cb): Don't focus the file list
(shortcuts_activate_get_info_cb): Likewise.
* gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
the file list (this was the last place where we would focus the
file list explicitly). If you are in the location entry, for
example, you don't want Alt-Home to take you to the file list; you
just want the current folder to change. Thanks to Olle Bergkvist
<olle.bergkvist@yahoo.se> for pointing this out in
http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
(focus_browse_tree_view_if_possible): Removed.
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19543
Matthias Clasen [Tue, 12 Feb 2008 17:34:43 +0000 (17:34 +0000)]
Skip exensions when selecting filenames in the save-as dialog. (#362516,
2008-02-12 Matthias Clasen <mclasen@redhat.com>
Skip exensions when selecting filenames in the save-as dialog.
(#362516, Carlos Garnacho)
* gtk/gtkfilechooserentry.h:
* gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
New function to skip the extension part when selecting a filename.
(_gtk_file_chooser_entry_set_base_folder): Use it here.
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
...and here.
svn path=/trunk/; revision=19540
Matthias Clasen [Tue, 12 Feb 2008 16:43:04 +0000 (16:43 +0000)]
Fix state change reporting for accessibility. (#499835, Rich Burridge,
2008-02-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c: Fix state change reporting for
accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
svn path=/trunk/; revision=19538
Emmanuele Bassi [Tue, 12 Feb 2008 16:38:00 +0000 (16:38 +0000)]
Set the default value of the :show-not-found property to TRUE, as every
2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentchooser.c:
(gtk_recent_chooser_class_init): Set the default value of the
:show-not-found property to TRUE, as every implementation sets
it to TRUE already.
* gtk/gtkrecentchooserdefault.c:
(_gtk_recent_chooser_default_init): Sync show_tips to the
default value of the :show-tips property.
svn path=/trunk/; revision=19535
Matthias Clasen [Tue, 12 Feb 2008 16:35:02 +0000 (16:35 +0000)]
Don't let the width or height go below 1. (#516024, Christian Persch)
2008-02-12 Matthias Clasen <mclasne@redhat.com>
* gdk-pixbuf-io.c (at_scale_size_prepared_cb): Don't let
the width or height go below 1. (#516024, Christian Persch)
svn path=/trunk/; revision=19534
Matthias Clasen [Tue, 12 Feb 2008 16:10:39 +0000 (16:10 +0000)]
Use GSlice for GtkSelectionData. (#515060, Christian Persch)
2008-02-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkclipboard-quartz.c:
* gtkquartz.c:
* gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
Christian Persch)
svn path=/trunk/; revision=19533
Kristian Rietveld [Tue, 12 Feb 2008 15:58:25 +0000 (15:58 +0000)]
guard against people deleting the row in question in the selection-changed
2008-02-12 Kristian Rietveld <kris@imendio.com>
* gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
(gtk_tree_view_real_toggle_cursor_row): guard against people
deleting the row in question in the selection-changed callback.
(#514621, Andreas Koehler).
svn path=/trunk/; revision=19530
Matthias Clasen [Tue, 12 Feb 2008 15:51:09 +0000 (15:51 +0000)]
Unify the handling of various "Enter" keysyms all over the place.
2008-02-12 Matthias Clasen <mclasen@redhat.com>
* gtk/*.c: Unify the handling of various "Enter" keysyms
all over the place. (#515047, Christian Persch)
svn path=/trunk/; revision=19528
Matthias Clasen [Tue, 12 Feb 2008 15:41:30 +0000 (15:41 +0000)]
Use g_value_set_static_string() where appropriate. (#515042, Christian
2008-02-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilesystemmodel.c:
* gtk/gtkprinter.c:
* gtk/gtkwidget.c: Use g_value_set_static_string() where
appropriate. (#515042, Christian Persch)
svn path=/trunk/; revision=19527
Matthias Clasen [Tue, 12 Feb 2008 15:38:47 +0000 (15:38 +0000)]
Fix a memory leak (#515039, Christian Persch)
2008-02-12 Matthias Clasen <mclasen@redhat.com>
* tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
svn path=/trunk/; revision=19526
Matthias Clasen [Tue, 12 Feb 2008 15:24:57 +0000 (15:24 +0000)]
Fix a memory leak (#515038, Christian Persch)
2008-02-12 Matthias Clasen <mclasen@redhat.com>
* tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
svn path=/trunk/; revision=19525